<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>服务器</title>
    <jsp:include page="common/common_head.jsp"></jsp:include>


</head>
<body  data-spy="scroll" data-target=".navbar">



<jsp:include page="common/common_banner_app.jsp"></jsp:include>
<div style="height:30px"></div>
<div class="container">


    <div>

        <h4>Master ${master}</h4>
        <table class="table  table-striped table-bordered table-hover " id = "showTable">

            <thead>
            <tr>
                <th>序号</th>
                <th>服务器</th>
                <th>IP</th>
                <th>CPU</th>
                <th>内存</th>

            </tr>
            </thead>
            <tbody>
            <c:forEach items="${slave}" var="c" varStatus="v">
                <tr>
                    <td>${v.index + 1}</td>
                    <td>${c.hostName}</td>
                    <td> ${c.ip}</td>
                    <td> ${c.cores}</td>
                    <td> ${c.memory}</td>
                </tr>
            </c:forEach>

            </tbody>

        </table>

    </div>





	<jsp:include page="common/common_js.jsp"></jsp:include>



	<script>




	</script>
</body>
</html>